package com.oa.ylms.apps.entity.notice;

import java.io.Serializable;
import java.util.Date;

import com.oa.ylms.apps.common.DateUtil;
import com.oa.ylms.apps.entity.archives.StaffInfoValue;

@SuppressWarnings("serial")
public class NoticeInfoValue implements Serializable {

	// Fields

	private Integer noticeId;
	private StaffInfoValue staffInfo;
	private String title;
	private String place;
	private Date startTime;
	@SuppressWarnings("unused")
	private String strStartTime;
	private Date endTime;
	@SuppressWarnings("unused")
	private String strEndTime;
	private String content;
	private String postScript;
	private Date publishTime;
	@SuppressWarnings("unused")
	private String strPublishTime;
	private Integer states;
	
	private String staffNames;
	private String sectionNames;

	// Property accessors

	public Integer getNoticeId() {
		return noticeId;
	}

	public void setNoticeId(Integer noticeId) {
		this.noticeId = noticeId;
	}

	public StaffInfoValue getStaffInfo() {
		return staffInfo;
	}

	public void setStaffInfo(StaffInfoValue staffInfo) {
		this.staffInfo = staffInfo;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getPlace() {
		return place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getPostScript() {
		return postScript;
	}

	public void setPostScript(String postScript) {
		this.postScript = postScript;
	}

	public Date getPublishTime() {
		return publishTime;
	}

	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}

	public Integer getStates() {
		return states;
	}

	public void setStates(Integer states) {
		this.states = states;
	}

	public void setStrPublishTime(String strPublishTime) {
		this.strPublishTime = strPublishTime;
	}

	public String getStrPublishTime() {
		return DateUtil.toString(publishTime);
	}

	public void setStrStartTime(String strStartTime) {
		this.strStartTime = strStartTime;
	}

	public String getStrStartTime() {
		return DateUtil.toString(startTime);
	}

	public void setStrEndTime(String strEndTime) {
		this.strEndTime = strEndTime;
	}

	public String getStrEndTime() {
		return DateUtil.toString(endTime);
	}

	public void setSectionNames(String sectionNames) {
		this.sectionNames = sectionNames;
	}

	public String getSectionNames() {
		return sectionNames;
	}

	public void setStaffNames(String staffNames) {
		this.staffNames = staffNames;
	}

	public String getStaffNames() {
		return staffNames;
	}

}